  
  --[[hide blizzard stuff
local _,_,_,toc = GetBuildInfo()
  MainMenuBar:SetScale(0.00001)
  MainMenuBar:EnableMouse(false)
if (toc < 50000) then
  VehicleMenuBar:SetScale(0.00001)
  VehicleMenuBar:EnableMouse(false)
else
  OverrideActionBar:SetScale(0.00001)
  OverrideActionBar:EnableMouse(false)
  --OverrideActionBar.Show = function() return end
  --OverrideActionBar.IsShown = function() return end
  OverrideActionBar:Hide();
  --ValidateActionBarTransition();
  ValidateActionBarTransition = function() return end
  --if CURRENT_ACTION_BAR_STATE == LE_ACTIONBAR_STATE_OVERRIDE then
  		--BeginActionBarTransition(OverrideActionBar, nil)
		--OverrideActionBar.hideOnFinish = true
		--OverrideActionBar.slideOut:Play(nil)
		--BeginActionBarTransition(MainMenuBar, 1)
		--BeginActionBarTransition(MultiBarRight, 1)
  --end
 -- OverrideActionBar.Hide = BeginActionBarTransition(OverrideActionBar, 1)
end

  local FramesToHide = {
    MainMenuBar, 
    MainMenuBarArtFrame, 
    BonusActionBarFrame, 
	OverrideActionBar,
    VehicleMenuBar,
    PossessBarFrame,
  }  
  
  for _, f in pairs(FramesToHide) do
    if f:GetObjectType() == "Frame" then
      f:UnregisterAllEvents()
    end
    if f ~= MainMenuBar and f ~= OverrideActionBar then --patch 4.0.6 fix found by tukz
      f:HookScript("OnShow", function(s) s:Hide(); end)
      f:Hide()
    end
    f:SetAlpha(0)
  end
  
  -- code by tukz/evl22
  -- fix main bar keybind not working after a talent switch. :X
  hooksecurefunc('TalentFrame_LoadUI', function()
    PlayerTalentFrame:UnregisterEvent('ACTIVE_TALENT_GROUP_CHANGED')
  end)]]--
  
  local blizzHider = CreateFrame("Frame","rABS_BizzardHider")
  blizzHider:Hide()
  --hide main menu bar frames
  MainMenuBar:SetParent(blizzHider)
  MainMenuBarPageNumber:SetParent(blizzHider)
  ActionBarDownButton:SetParent(blizzHider)
  ActionBarUpButton:SetParent(blizzHider)
  
  OverrideActionBarExpBar:SetParent(blizzHider)
  OverrideActionBarHealthBar:SetParent(blizzHider)
  OverrideActionBarPowerBar:SetParent(blizzHider)
  OverrideActionBarPitchFrame:SetParent(blizzHider) --maybe we can use that frame later for pitchig and such

  OverrideActionBar:Hide();
  ValidateActionBarTransition = function() return end

  -----------------------------
  -- HIDE TEXTURES
  -----------------------------

  --remove some the default background textures
  StanceBarLeft:SetTexture(nil)
  StanceBarMiddle:SetTexture(nil)
  StanceBarRight:SetTexture(nil)
  SlidingActionBarTexture0:SetTexture(nil)
  SlidingActionBarTexture1:SetTexture(nil)
  PossessBackground1:SetTexture(nil)
  PossessBackground2:SetTexture(nil)
  
  MainMenuBarTexture0:SetTexture(nil)
  MainMenuBarTexture1:SetTexture(nil)
  MainMenuBarTexture2:SetTexture(nil)
  MainMenuBarTexture3:SetTexture(nil)
  MainMenuBarLeftEndCap:SetTexture(nil)
  MainMenuBarRightEndCap:SetTexture(nil)


  --remove OverrideBar textures

  local textureList =  {
    "_BG",
    "EndCapL",
    "EndCapR",
    "_Border",
    "Divider1",
    "Divider2",
    "Divider3",
    "ExitBG",
    "MicroBGL",
    "MicroBGR",
    "_MicroBGMid",
    "ButtonBGL",
    "ButtonBGR",
    "_ButtonBGMid",
  }
  for _,tex in pairs(textureList) do
    OverrideActionBar[tex]:SetAlpha(0)
  end

  
  